module.exports = {
  chainWebpack: config => {
    // 移除 prefetch 插件
    config.plugins.delete('prefetch')
  },
  productionSourceMap: false,
  devServer: {
    proxy: {
      '/api': {
        target: 'http://api.pinpaizw.com',
        changeOrigin: true
      },
      '/interface': {
        target: 'http://api.pinpaizw.com',
        changeOrigin: true
      }
    }
  }
}